//= require puffer/codemirror
//= require_tree ./codemirror
//= require_self

.cm-translation {
  color: #a11;
  border-bottom: 1px dashed #a11;
}

.cm-s-default {
  background: #fff;
}

.cm-liquid-tag {
  color: #0089b7;
}

.cm-liquid-variable {
  color: #0089b7;
}

.cm-tab {
  background: url();
  background-position: right;
  background-repeat: no-repeat;
}

div.CodeMirror span.CodeMirror-matchingbracket {
  color: #e80000;
}

.handler {
  padding: 5px 10px;
}

.rui-tabs li {
  margin-bottom: 0;
}

.rui-tabs .rui-tabs-panel {
  padding: 0;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  height: 100%;
}

.rui-tabs .locales {
  border: 0;
}

.rui-tabs .locales .rui-tabs-panel {
  border: 0;
}

.codemirror_wrapper {
  border: 1px solid #CCC;
}

.rui-tabs-panel .codemirror_wrapper {
  border: 0;
}

*[data-fullscreen='true'] {
  background-color: #fff !important;
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 9999 !important;
  margin: 0 !important;
  padding: 0 !important;
}

*[data-fullscreen='true'] .codemirror_wrapper {
  height: 100% !important;
}

*[data-fullscreen='true'] .CodeMirror {
  height: 100% !important;
}

*[data-fullscreen='true'] .rui-tabs {
  height: 100% !important;
}

*[data-fullscreen='true'] .rui-tabs-panel {
  height: 100% !important;
  height: -webkit-calc(100% - 28px) !important;
  height: calc(100% - 28px) !important;
}